package com.wyu.notaryserver.enums;

import java.util.List;

/**
 * @author 六味lemontea 2025-01-24
 * @version 1.0
 * @description
 */
public enum InfoEnum {
    IDCARD(0, "身份信息", new String[]{"姓名", "性别", "民族", "出生日期", "住址", "地址", "签发机关", "身份证号"});

    private final int code;
    private final String description;
    private final String[] content;

    InfoEnum(int code, String description, String[] content) {
        this.code = code;
        this.description = description;
        this.content = content;
    }

    @Override
    public String toString() {
        return "InfoEnum{" +
                "code=" + code +
                ", description='" + description + '\'' +
                ", content=" + String.join(", ", content) +
                '}';
    }
}
